Fix distcheck
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Aug 2013 22:53:07 +0000 (18:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 20 Aug 2013 22:53:57 +0000 (18:53 -0400)
We need to clean up the ui.h files somewhere if they are generated
during the build from tarball. Reuse the existing distclean-local
hack for it.

gtk/Makefile.am

index 48d83758ce0097944f0fbe43a30ae14a518ddd5b..8cfb620c6fee7231ddab96134ad256cd4817387e 100644 (file)
@@ -1300,6 +1300,7 @@ distclean-local:
          rm -f $(MAINTAINERCLEANFILES); \
          rm -rf stock-icons; \
          rm -f extract-strings$(EXEEXT); \
+         rm -f $(template_headers); \
        fi
 
 DEPS = libgtk-3.la $(top_builddir)/gdk/libgdk-3.la